package com.punch.common.dto.user.guardian;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 学生及家长信息表
 *
 * @author xiaol
 * @date 2020-07-29 23:10:02
 */
@Data
@ApiModel(value = "学生及家长关系")
public class GuardianStudentDTO {

    @ApiModelProperty(value = "studentId")
    @NotNull(message = "学生ID不能为空")
    private Long studentId;

    @ApiModelProperty(name = "avatar", notes = "头像,无头像时使用默认男/女生头像")
    private String avatar;

    @ApiModelProperty(value = "姓名", notes = "addStuType为1的时候传")
    private String studentName;

    @ApiModelProperty(value = "性别 0-女 1-男 2-未知", notes = "addStuType为1的时候传")
    private Integer sex;

    @ApiModelProperty(value = "年级", notes = "addStuType为1的时候传")
    private Integer gradeYear;

    @ApiModelProperty(value = "班级", notes = "addStuType为1的时候传")
    private String gradeClass;

}
